package lnkwe.core.db;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lingwo on 2016/11/15.
 */
public class ApiCommonResult<T> implements Serializable {
    private T result;
    private List<T> results;

    private Boolean status;
    private String message;
    private int totalSize;
    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }


}
